package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 订单退货的所有商品
 */
@Data
@TableName("t_orderReturnProduct")
public class OrderReturnProductBean {
    /**id*/
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /** 退货订单编号*/
    @TableField("fk_cusReturnId")
    private String fk_cusReturnId;//
    /** 商品编号*/
    @TableField("productId")
    private String productId;//
     /**商品名称*/
     @TableField("productName")
    private String productName;//
     /**商品数量*/
     @TableField("productNum")
     private int productNum;//
     /**成交价*/
     @TableField("outPrice")
     private double outPrice;//
     /**商品颜色*/
     @TableField("color")
    private String color;//
     /**商品类型*/
     @TableField("productType")
    private String productType;
    /**商品大小*/
    @TableField("size")
     private String size;

    public OrderReturnProductBean() {
    }

    public OrderReturnProductBean(String productId, int productNum) {
        this.productId = productId;
        this.productNum = productNum;
    }

    public OrderReturnProductBean(String fk_cusReturnId, String productId, String productName, int productNum, int outPrice, String color) {
        this.fk_cusReturnId = fk_cusReturnId;
        this.productId = productId;
        this.productName = productName;
        this.productNum = productNum;
        this.outPrice = outPrice;
        this.color = color;
    }

    public OrderReturnProductBean(String fk_cusReturnId, String productId, String productName, int productNum, double outPrice, String color, String productType, String size) {
        this.fk_cusReturnId = fk_cusReturnId;
        this.productId = productId;
        this.productName = productName;
        this.productNum = productNum;
        this.outPrice = outPrice;
        this.color = color;
        this.productType = productType;
        this.size = size;
    }
}
